 |
 |
 |
 |
#154725 - 07/24/02 06:24 PM
[6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
Member
Registered: 02/21/00
Posts: 5533
Loc: My Room
|
Here it is folks, the newest implementation of the annoying QuickReply hack with QuickQuote™ technology! In this version i've wordletized some things, and fixed QuickQuote™. This version works for 6.3.0 - 6.3.1 as tested, though there may be bugs. This hack requires modification wordlets now quote:
Its adds a little box after each post for quick and easy replying. Works with 6.3.
Download
Thanks LK for his work on 3.0.
Logs:
1.0: Initial Testing 1.1: Fixed some HTML (Alpha Init) 1.2: Fixed some more HTML (Beta Init, RC1 Init) 1.3: Fixed more HTML (RC2 Init) 1.4: Public Release (RC2 used) 1.5: Fixed Doc Errors 1.6: Updated Doc to work with JCTemplates 1.7: Fixed some HTML 1.8: Fixed a bug with variables sending incorrect information 1.9: Added support for ALT+S thanks to Bookie and xpert! 2.0: Cookie Support to NOT show the box (hopefully) 3.0: Adds some other options, fixes a bug, adds profile option. This has been tested but not much. Report bugs/probs here and give me time to fix issues. 3.1: Fixed a bug. Redo topic_page. 3.2: Bugs Fixed, Carrot Cakes eaten. 3.3: Bugs 3.3: Bugs 3.3: Bugs 3.4: Bugs 3.5: QuickReply w/Quote 3.6: Fixed QuickReply w/Quote (Do topic_page, the bottom) 3.7: More Wordletization Upgrading requires topic_page main code replacement only. 4.0: Wordlets, Fixed QuickQuote
You can use the image next to the quote button on UBBDev made by bookie. Download and upload to your noncgi directory. Thanks, Bookie!
NOTE: If you can't find [34] or [35], replace with [35] and [34] respecively.
Download
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154738 - 08/04/02 10:57 AM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
Member
Registered: 02/21/00
Posts: 5533
Loc: My Room
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154749 - 08/08/02 03:17 PM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154751 - 08/12/02 10:09 PM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
Member
Registered: 02/21/00
Posts: 5533
Loc: My Room
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154756 - 08/13/02 05:45 PM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
Junior Member
Registered: 12/30/01
Posts: 27
Loc: St. Louis
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154761 - 08/19/02 03:06 PM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
Member
Registered: 08/01/02
Posts: 93
Loc: Michigan
|
my $pntf_hidden = ($in{pntf_hidden} =~ m/^(0|1)$/ ? $in{pntf_hidden} : 0 ); my $quickreply = ($in{quickreply} =~ m/^(0|1)$/ ? $in{quickreply} : 1 ); chomp($user_profile[35]);
# set new cookie, if necessary if (($user_profile[35] != $pntf_hidden) || ($lc_email ne $lc_old_email) || ($new_password ne $user_profile[1]) || ($public_name ne $old_public_name) || ($avhide != $oldavhide) || ($quickreply ne $user_profile[61])) { || ($lc_email ne $lc_old_email) || ($new_password ne $user_profile[1]) || ($public_name ne $old_public_name) || ($avhide != $oldavhide)) { my $cookie2; if (($lc_email ne $lc_old_email) && ( $vars_registration{EmailVerify} eq "ON" )) { $cookie2 = cookie( -name => "ubber$vars_config{Cookie_Number}", -value => "", -path => '/' ); } else { $cookie2 = cookie( -name => "ubber$vars_config{Cookie_Number}", -value => [$user_profile[0], $new_password, $public_name, $in{DaysPrune}, $in{u}, $pntf_hidden, $avhide, "", "", "", $quickreply], -path => '/', -expires => '+2y' ); } print header( -cookie => [$cookie2], -charset => "$masterCharset", -type => "text/html", );
} else {
#print qq%Content-type: text/htmlnn%;
_________________________
New to this whole UBB thing I have <img src="http://www.ubbdev.com/ud/?u=[IGRAINE] Chrimera&s=1" alt=" - " /> points, <img src="http://www.ubbdev.com/ud/?s=2&u=[IGRAINE] Chrimera" alt=" - " /> results and <img src="http://www.ubbdev.com/ud/?u=Chrimera, [IGRAINE] gitp4, [IGRAINE] Erondel &s=1" alt=" - " /> sub-team points.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154778 - 09/08/02 11:11 AM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
Junior Member
Registered: 09/08/02
Posts: 1
|
Hmmmm.... (Note this is CaCoffin - registered with a new name here to see if the same problems exist here - so I can tell where the problem is - me or the code) Most of the errors I have mentioned must be with my install since only one error I mentioned occurs here. (Unless whoever did the install here fixed those errors on their install  ) The only error (two actually) that happen here are: 1) Upon registration I selected NO but the QuickReply Box still appeared. 2) Upon registration the Preferences review does not show the QuickReply option Otherwise everything else works as it should here. Sooooo now I have to figure out what I did wrong on the install (at least I know to look in the profile files).
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154779 - 09/08/02 11:23 AM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
Member
Registered: 12/02/00
Posts: 152
Loc: Las Vegas, NV
|
LOL and a YeeeHaaawww I found MY error! I managed to drop off the semi-colon when adding the line for storing myprofile: $user_profile[61] = $quickreply; I managed to not copy the semi-colon the first time around - added that and ALL the problems (but those two above) are gone. The two problems I mentioned above as MrTester are here and on my test board so they are definitely errors in the MOD. But without saying, this MOD rocks (when installed properly  ), and thank you! Oh by the way - ADMIN for UBBDev please feel free to delete MrTester, thank you. Oh and if they do the two errors that are real errors are: 1) Upon registration when "No" is selected the QuickReply option is turned on anyways. 2) Upon registration the Preferences review does not show the QuickReply option.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154780 - 09/08/02 12:41 PM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
Admin / Code Breaker
Registered: 03/24/01
Posts: 7396
|
open public_register_form.pl. find: code:</font><hr /> print &GenerateLineHTML("REQ", "Show Quick Reply Box?", "", "quickreply", "radio", { yes => $vars_wordlets{yes_option}, no => $vars_wordlets{no_option} }, [qw(yes no)], "yes");<hr /></blockquote>replace with:<blockquote><font class="small">code: [qb] print &GenerateLineHTML("REQ", "Show Quick Reply Box?", "", "quickreply", "radio", { 1 => $vars_wordlets{yes_option}, 0 => $vars_wordlets{no_option} }, [qw(1 0)], 1);[/qb] It's untested, but hmm, should work.. 
_________________________
My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154798 - 10/01/02 07:08 PM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154802 - 10/24/02 05:37 PM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
Member
Registered: 03/29/01
Posts: 49
|
Maybe somebody else could test this as well. All I did to get quickreply with Emailonreply (4.0) to work was: public_topic_page.pl: Look for: code:</font><hr /> sub topic_bottom {
@this_forum = &GetForumRecord($in{f});
my ($is_html, $is_ubb) = (&CheckCoding($this_forum[4], $this_forum[5], $this_forum[10]))[3,2];<hr /></blockquote>Add below: <blockquote><font class="small">code: [qb] my ($email_notify, $email_checked);
if (($vars_email{UseEmail} eq 'ON') && ($username ne '')) {
if (($stat_line[1] =~ /$user_number/) || (($stat_line[1] =~ /N/i) && ($in{reply_num} eq '000000'))) {
$email_checked = 'CHECKED';
} else {
$email_checked = '';
}
$email_notify = qq(<INPUT TYPE="CHECKBOX" NAME="email_notification" VALUE="yes" $email_checked> $vars_wordlets{email_notify}
);
}[/qb] Look for: code:</font><hr /> if('0'!=user_array[10]) {
document.write('<form name="replier" method="post" action="$vars_config{CGIURL}/ultimatebb.cgi"><hr /></blockquote>and put <blockquote><font class="small">code: [qb] [/qb] where you would like it to be displayed. Seems to work for me...
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#154811 - 11/13/02 04:26 PM
Re: [6.3.x] [beta] QuickReply™ 4.0 [URL FIXED]
|
Junior Member
Registered: 11/03/02
Posts: 30
|
quote: Originally posted by Greg Hard: You need to decode the code, add a bunch of spaces, change the code then make it one line again. hehehe decode code?  I'm not that good I think you mean this line: document.write('<form name="replier" method="post" action="$vars_config{CGIURL}/ultimatebb.cgi"><input type="hidden" name="ubb" value="submit_new_reply" /><input type="hidden" name="f" value="$forum_number" /><input type="hidden" name="t" value="$topic_number" /><table border="0" cellpadding="1" cellspacing="1" width="$vars_style{TableWidth}" align="center"><tr bgcolor="$vars_style{TableBorderColor}"><td><table border="0" width="100%" cellpadding="4" cellspacing="0"><tr bgcolor="$vars_style{TableColorStrip}"><td colspan="2"><font size="$vars_style{TextSize}" face="$vars_style{FontFace}" color="$vars_style{TableStripTextColor}"><b>$vars_wordlets_mods{QuickReply}</b></font></td></tr><tr bgcolor="$vars_style{AltColumnColor1}"><td valign="top" width="18%"><b>$vars_wordlets_mods{QRMessage}</b> <font size="1" color="$vars_style{VisitedLinkColor}">$is_html <a href="$ULTIMATEBB?ubb=ubb_code_page" target="_blank">$is_ubb</a> </font><input type="checkbox" name="Signature" id="Signature" value="yes" checked="checked" /><font size="1">$vars_wordlets_mods{ShowSig} <input type="checkbox" id="disable_smilies" name="disable_smilies" value="yes" />$vars_wordlets_mods{QRSmilies}</font></td><td><textarea name="message" rows="10" cols="50" wrap="virtual"></textarea> <input type="submit" name="submit" value="$vars_wordlets{submit_new_reply}" /> $preview_button</td></tr>$TBB_js</form>'); how do I ?? thnx dude
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|